home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nibble Magazine
/
nib03.dsk
/
DISK SNOOPER.bas
< prev
next >
Wrap
BASIC Source File
|
2023-02-26
|
1KB
|
29 lines
10 REM *****************************
11 REM * DISK SNOOPER *
12 REM * BY PRESTON R BLACK M.D. *
13 REM * COPYRIGHT (C) 1981 *
14 REM * BY MICRO-SPARC INC *
15 REM * LINCOLN, MA. 01773 *
16 REM *****************************
100 DIM RWTS(30)
110 D$ = CHR$(4): REM CTRL D
120 REM LOAD PRINTING ROUTINE
130 PRINT D$;"BLOAD PRINTOUT"
140 REM POKE THE CONTROLLING SUBROUTINE
150 REM THE IOB, AND THE DCT INTO MEMORY
160 FOR I = 0 TO 30: READ RWTS(I)
170 POKE 896 +I,RWTS(I): NEXT
180 REM GET TRACK AND SECTOR
190 TEXT : HOME : PRINT : INPUT "TRACK TO BE REVIEWED: ";TR
200 INPUT "SECTOR TO BE REVIEWED: ";SR
210 REM POKE INTO IOB
220 POKE 910,TR: POKE 911,SR
230 REM CALL CONTROLLING SUBROUTINE
240 HOME : CALL 896
250 REM CALL PRINTING SUBROUTINE
260 CALL 768
270 PRINT : PRINT "PRESS RETURN TO QUIT--"
280 PRINT "ANY OTHER KEY TO CONTINUE. ";: GET A$: PRINT A$
290 PRINT : IF A$ < > CHR$(13) THEN 190
300 DATA 169,03,160,138,32,217,3,96,0,0,1,96,1,0,0,0,155,3,0,32,0,0,1,0,0,96,1,0,1,239,216
310 END